﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
#if !NETCOREAPP
using System.Web;
using System.Web.Mvc;
using System.Web.WebPages;
    using System.Web.Mvc.Html;

#endif

#if NETCOREAPP
using Microsoft.AspNetCore.Mvc.Razor;
using Microsoft.AspNetCore.Mvc.Rendering;
using Kugar.Core.Web;
#endif

namespace Kugar.MVC.MobileUI.WeUI.Helpers
{
    //public static class WebViewPageHelper
    //{
    //    public static MobileWeUI WeUI(this WebViewPage page)
    //    {
    //        var weui = (MobileWeUI) page.ViewBag.WebUI;
            
    //        if (weui==null)
    //        {
    //            weui=new MobileWeUI(page.ViewContext);
    //        }

    //        return weui;
    //    }
    //}
}